STEP 12: Let's work on our two_step function.

  • Click LOGIC then and drop Loop with Range INSIDE the two_step function.
  • Drop Say INSIDE the loop. It should be indented 8 spaces ········¬ because it is nested twice.
  • Change the string argument in the .say() command to "Let's dance!".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)